package com.hm.ibsm.manage.service;

import java.util.List;

import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageParam;
import com.hm.ibsm.manage.enums.DictTypeEnums;
import com.hm.ibsm.manage.uti.ManageShareDef;
import com.hm.ibsm.manage.vo.dict.DictTypeValueVo;
import com.hm.ibsm.manage.vo.dict.DictVo;

/**
 * @author shishun.wang
 * @date 2017年3月7日 上午10:18:54
 * @version 1.0
 * @describe
 */
public interface DictService {
	
	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/manage/DictService/" + ManageShareDef.HttpInvokerEndpoing.VERSION;

	@Deprecated
	public void addDict(DictVo dictVo);

	@Deprecated
	public void updateDict(String dictId, DictVo dictVo);

	@Deprecated
	public void deleteDict(String dictId);

	public PageInfo<DictVo> query(PageParam page, DictTypeEnums dictType);

	public List<DictTypeValueVo> getDictTypeValues(DictTypeEnums dictType);

	/**
	 * DictTypeCodeDef
	 * 
	 * @param code
	 * @return
	 */
	public DictTypeValueVo getDictValue(String code);

	/**
	 * DictTypeCodeDef
	 * 
	 * @param systemInfo
	 * @return
	 */
	public List<DictTypeValueVo> getDictValues(String code);
}
